package com.cloudeasy.security.core.validate.code.sms;

import lombok.extern.slf4j.Slf4j;

/**
 * 默认的短信验证码发送器
 * Create By 郭金宝 on 2019/1/16.<br>
 */
@Slf4j
public class DefaultSmsCodeSender implements SmsCodeSender {

    /**
     * Send.
     *
     * @param mobile the mobile
     * @param code   the code
     * @param ip     the ip
     */
    @Override
    public void send(String mobile, String code, String ip) {
        log.warn("请配置真实的短信验证码发送器(SmsCodeSender)");
        log.info("向手机" + mobile + "发送短信验证码" + code + "ip:" + ip);
    }

}
